﻿using System;

namespace Token.Piker.Core.Model
{
    /// <summary>
    /// 用户详细信息，继承自AbstractUser
    /// </summary>
    public class User : AbstractUser
    {
        public User()
        {
        }

        public User(string uid)
            : base(uid)
        {
        }

        public enum EState{
            禁用 = 0,
            正常 = 1
        }

        private string password;

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        private string fullName;

        public string FullName
        {
            get { return fullName; }
            set { fullName = value; }
        }
        private EState state = EState.正常;

        public EState State
        {
            get { return state; }
            set { state = value; }
        }
        private DateTime timeLastLog;

        public DateTime TimeLastLog
        {
            get { return timeLastLog; }
            set { timeLastLog = value; }
        }
        private string ipLastLog;

        public string IpLastLog
        {
            get { return ipLastLog; }
            set { ipLastLog = value; }
        }
        private int addCount;

        public int AddCount
        {
            get { return addCount; }
            set { addCount = value; }
        }
        private string imgHome;
        public string ImgHome
        {
            get { return imgHome; }
            set { imgHome = value; }
        }

    }
}